<?xml version="1.0"?>
<Template Originator="Lluis Sanchez" Created="3/09/2001" LastModified="3/09/2001">
	
	<TemplateConfiguration>
		<_Name>ActionGroup</_Name>
		<Icon>md-gui-file</Icon>
		<_Category>Gtk</_Category>
		<LanguageName>*</LanguageName>
		<ProjectType>DotNetAssembly</ProjectType>
		<_Description>Creates a global Action Group.</_Description>
		<DefaultFilename>ActionGroup</DefaultFilename>
	</TemplateConfiguration>
	
	<Conditions>
		<PartialTypeSupport Requirement="Enabled" />
		<HasReference Assembly="gtk-sharp" />
	</Conditions>
	
	<TemplateFiles>
		<Widget DefaultName="${Name}">
			<SteticTemplate>
			  <action-group name="${FullName}">
			  </action-group>			
			</SteticTemplate>
			<CodeDomFile>
				<CompileUnit>
					<Namespaces>
						<Namespace Name="">
							<Imports>
								<NamespaceImport Namespace="System" />
							</Imports>
						</Namespace>
						<Namespace Name="${Namespace}">
							<Types>
								<TypeDeclaration Name="${Name}" IsClass="true" IsPartial="true">
									<BaseTypes>
										<TypeReference BaseType="Gtk.ActionGroup" />
									</BaseTypes>
									<Members>
										<Constructor Attributes="Public, Final">
											<BaseConstructorArgs>
												<PrimitiveExpression Value="${FullName}"/>
											</BaseConstructorArgs>
											<Statements>
												<MethodInvokeExpression>
													<Method>
														<MethodReferenceExpression MethodName="Build">
															<TargetObject>
																<ThisReferenceExpression/>
															</TargetObject>
														</MethodReferenceExpression>
													</Method>
												</MethodInvokeExpression>
											</Statements>
										</Constructor>
									</Members>
								</TypeDeclaration>
							</Types>
						</Namespace>
					</Namespaces>
				</CompileUnit>
			</CodeDomFile>
		</Widget>
	</TemplateFiles>
</Template>
